<template>
<div class="bg">
  <div class="dashboard-container">
    <div class="dashboard-text">物流管理系统</div>
  </div>
</div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}

.bg {
  width: 100vw;
  height: 85vh;
  background-image: url("../../assets/index.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  .login {
    width: 50rem;
    height: 50rem;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    left: 20rem;
    top: 3rem;
    box-shadow: 2px 6px 20px #333333;
  }
}
</style>
